/**
 * $Id: CourseBuilder.java,v 1.0 2022/6/6 23:04 shidesheng Exp $
 * <p>
 * Copyright 2021 Sinosoft Co.,Ltd. All rights reserved.
 */
package sds.mode.builder.simple;

/**
 * @author shidesheng
 * @version $Id: CourseBuilder.java,v 1.1 2022/6/6 23:04 shidesheng Exp $
 * Created on 2022/6/6 23:04
 */
public class CourseBuilder {

	private Course course = new Course();

	public void addName(String name){
		course.setName(name);
	}

	public void addPPT(String ppt){
		course.setPpt(ppt);
	}

	public void addVideo(String video){
		course.setVideo(video);
	}

	public void addNote(String note){
		course.setNote(note);
	}

	public void addHomework(String homework){
		course.setHomework(homework);
	}

	public Course builder(){
		return course;
	}

}
